let addPowerFormRules = {
    role_id: [{
            required: true,
            message: "请输入role_id",
            trigger: "blur",
        },
        {
            type: "number",
            min: 1,
            max: 5,
            messasge: "权限等级1~5,请输入role_id",
            trigger: "blur",
        },
    ],
    id: [
        { required: true, message: "请输入id", trigger: "blur" },
        {
            type: "number",
            min: 1,
            max: 100,
            messasge: "id取1~100之间",
            trigger: "blur",
        },
    ],
}
let addFormRules = {
    name: [
        { required: true, message: "请输入", trigger: "blur" },
    ],
    nameZh: [
        { required: true, message: "请选择", trigger: "blur" },
    ],
}
let options = [{
        value: '超级管理员',
        label: '超级管理员',
    },
    {
        value: '观察员',
        label: '观察员',
    },
]
let selectValues = [{
        value: 1,
        label: '居民',
    },
    {
        value: 2,
        label: '联动公益人',
    },
    {
        value: 3,
        label: '联动公益大使',
    },
    {
        value: 4,
        label: '工作人员',
    },
    {
        value: 5,
        label: '观察员',
    },
    {
        value: 6,
        label: '超级管理员',
    },
]
module.exports = {
    addPowerFormRules,
    addFormRules,
    options,
    selectValues
}